#!/bin/bash

# codecs free
yum -y install wget libdvdcss libdvdread libdvdplay libdvdnav lsdvd mplayerplug-in mplayer mplayer-gui compat-libstdc++-33 flash-plugin gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-ffmpeg libquicktime

# codecs proprietarios
wget http://www1.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-20061022-1.x86_64.rpm ; 
rpm -ivh mplayer-codecs-20061022-1.x86_64.rpm
wget http://www1.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-extra-20061022-1.x86_64.rpm ; 
rpm -ivh mplayer-codecs-extra-20061022-1.x86_64.rpm 

# fontes
yum -y install cabextract rpm-build dejavu-serif-fonts
wget http://corefonts.sourceforge.net/msttcorefonts-2.0-1.spec
rpmbuild -ba msttcorefonts-2.0-1.spec
rpm -ivh /usr/src/redhat/RPMS/noarch/msttcorefonts-2.0-1.noarch.rpm
service xfs reload 
